package com.yssystem.domain.Do;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysMenuDO {
    private Long id;

    private Long parentId;

    private String name;

    private Integer type;

    private String path;

    private String component;

    private String perms;

    private String icon;

    private Integer sortValue;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private Integer isDeleted;
    private List<SysMenuDO> children;
    private String time;

    public SysMenuDO(Long id, Long parentId, String name, Integer type, String path, String component, String perms, String icon, Integer sortValue, Integer status, Date createTime, Date updateTime, Integer isDeleted) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.type = type;
        this.path = path;
        this.component = component;
        this.perms = perms;
        this.icon = icon;
        this.sortValue = sortValue;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }
}
